<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* 
            border-width 设置边框的宽度
            border-color 设置边框的颜色
            border-style 设置边框的样式
            设置边框时 样式border-style必须要设置
             
            border 简写属性
            属性值之间用空格隔开，顺序无所谓

            最简便的写法 border:solid
            border-top 设置上边框
            border-right 设置右边框
            border-bottom 设置下边框
            border-left 设置左边框
        */
        div {
            width: 100px;
            height: 100px;
            /* border-width: 1px;
            border-color: red;
            border-style: dashed; */

            /* border: solid red 1px; */
            
            /* border: solid; */

            border-top: 10px solid red;
            border-right: 10px dashed blue;
            border-bottom: 10px dotted green;
            border-left: 10px double yellow;
        }
    </style>
</head>
<body>
    <div></div>
</body>
</html>